import http from '@/plugins/axios/index.js';
// 获取新闻活动数据
export const getNewsActivity = params => {
  return http(`/lt-order/logonless/queryActivitiesByPage.do`, params, {
    method: 'POST'
  }).then(res => res);
};

// 查询单个活动
export const getOneNews = params => {
    return http(`/lt-order/logonless/queryActivityById.do`, params, {
      method: 'GET',
    }).then(res => res);
  };
